package net.sahv.bdyz.api;

import java.util.HashMap;
import java.util.Map;

public class ApiResult {

	public Map<String, Object> data = new HashMap<String, Object>();
	public Message msg;

	public ApiResult() {
		msg = new Message();
	}

	public ApiResult(Integer status, String desc) {
		msg = new Message(status, desc);
	}
}

class Message {
	public Integer status = 0;
	public String desc = "操作成功！";

	public Message() {
	}

	public Message(Integer status, String desc) {
		this.status = status;
		this.desc = desc;
	}
}
